package com.example.spinning.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class DeliverOrder {
    private int id;
    private String receiver;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp date;
    private String product_name;
    private int serial_number;
    private String norms;
    private String color;
    private String batch_no;
    private String box_no;
    private int box_num;
    private float indicated_weight;
    private float net_weight;
    private float price;
    private float money;
    private String remark;
    private String supplier;
    private String receiver_operator;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public int getSerial_number() {
        return serial_number;
    }

    public void setSerial_number(int serial_number) {
        this.serial_number = serial_number;
    }

    public String getNorms() {
        return norms;
    }

    public void setNorms(String norms) {
        this.norms = norms;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getBox_no() {
        return box_no;
    }

    public void setBox_no(String box_no) {
        this.box_no = box_no;
    }

    public int getBox_num() {
        return box_num;
    }

    public void setBox_num(int box_num) {
        this.box_num = box_num;
    }

    public float getIndicated_weight() {
        return indicated_weight;
    }

    public void setIndicated_weight(float indicated_weight) {
        this.indicated_weight = indicated_weight;
    }

    public float getNet_weight() {
        return net_weight;
    }

    public void setNet_weight(float net_weight) {
        this.net_weight = net_weight;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getReceiver_operator() {
        return receiver_operator;
    }

    public void setReceiver_operator(String receiver_operator) {
        this.receiver_operator = receiver_operator;
    }

    @Override
    public String toString() {
        return "DeliverOrder{" +
                "id=" + id +
                ", receiver='" + receiver + '\'' +
                ", date=" + date +
                ", product_name='" + product_name + '\'' +
                ", serial_number=" + serial_number +
                ", norms='" + norms + '\'' +
                ", color='" + color + '\'' +
                ", batch_no='" + batch_no + '\'' +
                ", box_no='" + box_no + '\'' +
                ", box_num=" + box_num +
                ", indicated_weight=" + indicated_weight +
                ", net_weight=" + net_weight +
                ", price=" + price +
                ", money=" + money +
                ", remark='" + remark + '\'' +
                ", supplier='" + supplier + '\'' +
                ", receiver_operator='" + receiver_operator + '\'' +
                '}';
    }
}
